package config

import "flag"

type config struct {
	cfg string `json:"cfg"`
}

var Config = new(config)
var RouteCfg = new(RoutesConfig)

func init() {
	flag.StringVar(&Config.cfg, "c", "gateway.yaml", "Yaml Configuration location")
	flag.Parse()
	yaml_load(Config.cfg)
}
